package com.naiterui.ehp.bs.cms.modules.followup.mapper;

import org.apache.ibatis.annotations.Param;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.naiterui.ehp.bs.cms.common.constants.DsName;
import com.naiterui.ehp.bs.cms.modules.followup.entity.FollowUpForm;
import com.naiterui.ehp.bs.cms.modules.followup.vo.FollowUpFormVO;

/**
 * @author yangfuya
 * @since 2022/1/5
 */
@DS(DsName.EHP)
public interface FollowUpFormMapper extends BaseMapper<FollowUpForm> {

    /**
     * 分页数据
     * 
     * @param page
     * @param entityWrapper
     * @return
     */
    Page<FollowUpFormVO> getPage(@Param("page") IPage page, @Param("ew") Wrapper entityWrapper);
}
